<?php /* Smarty version 2.6.16, created on 2009-04-30 00:17:38
         compiled from TopicPost.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'TopicPost.html', 7, false),array('function', 'messages', 'TopicPost.html', 14, false),array('function', 'html_options', 'TopicPost.html', 35, false),array('function', 'url', 'TopicPost.html', 44, false),)), $this); ?>
<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td class="border2">
        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header"><?php echo smarty_function_language(array('text' => 'post_topic_143'), $this);?>
</td>
        </tr>
        </table>

        <br />

        <?php echo $this->_tpl_vars['jsValMess']; ?>

        <?php echo smarty_function_messages(array('block' => 'ForumTopicPost'), $this);?>


        <form method="post" action="<?php echo $this->_tpl_vars['sUrl']; ?>
" style="margin:0px;">
        <?php if ($this->_tpl_vars['aFormHidden']): ?>
        <?php $_from = $this->_tpl_vars['aFormHidden']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
        <input type="hidden" name="<?php echo $this->_tpl_vars['key']; ?>
" value="<?php echo $this->_tpl_vars['item']; ?>
">
        <?php endforeach; endif; unset($_from); ?>
        <?php endif; ?>
        <div style="padding:30px;font-size:10pt;" class="color">
        <?php if (! $this->_tpl_vars['bHideSubject']): ?>
        <div style="padding-bottom:8px;">
            <?php echo smarty_function_language(array('text' => 'subject'), $this);?>

            <div style="padding:5px;"><input type="text" name="title" maxlength="50" size="35" value="<?php echo $this->_tpl_vars['sTitle']; ?>
" onfocus="this.className='inputmain';" onblur="this.className='';" /></div>
        </div>
        <?php endif; ?>

        <?php if ($this->_tpl_vars['bShowType']): ?>
        <div style="padding-bottom:8px;">
            <?php echo smarty_function_language(array('text' => 'forum_type'), $this);?>

            <div style="padding:5px;">
            <select name="forum_type">
                <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['aForumType'],'selected' => $this->_tpl_vars['aTopic']['forum_type']), $this);?>

            </select>
            </div>
        </div>
        <?php endif; ?>

        <div style="padding-bottom:8px;">
            <?php echo smarty_function_language(array('text' => 'message'), $this);?>

                <span style="padding-left:10px;">
                 <a class="link_action" href="javascript:void(0);" onclick="popUp2('<?php echo smarty_function_url(array('link' => "public.popup.htmlguide"), $this);?>
','500','500','yes','200','100');">[ <?php echo smarty_function_language(array('text' => 'html_guide'), $this);?>
 ]</a>
                </span>
            <div style="padding:5px;">
            <textarea cols="65" rows="20" name="text" id="maintext" onfocus="this.className='textarea';" onblur="this.className='';"><?php echo $this->_tpl_vars['sText']; ?>
</textarea>
            <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ($this->_tpl_vars['sMainTemplatePath'])."/_blocks/smilies.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
            </div>
            </div>
        </div>
        <div style="padding-bottom:8px;">
            <div style="padding:5px;"><input type="submit" name="act[<?php echo $this->_tpl_vars['sAction']; ?>
]" value=" <?php echo smarty_function_language(array('text' => 'submit_topic'), $this);?>
 " style="cursor:pointer;" class="mainmenu6" onmouseover="this.className='mainmenu7';" onmouseout="this.className='mainmenu6';" /></div>
        </div>

        </form>
    </td>
</tr>
</table>
<br/>